package cn.demo.load;

import cn.demo.acp.sdk.SDKConfig;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class AutoLoadRunner implements CommandLineRunner {

    public void run(String... args) throws Exception{
        SDKConfig.getConfig().loadPropertiesFromSrc();
        System.out.println("=======================服务器启动执行,执行加载数据等操作========================");
    }
}
